package com.rookie.shiro.module.entity;


/**
 * @author rookie
 */
public class PermissionDocEntity {

    private String permission;

    private String message;

    private String url;

    /**
     * 是否是匿名接口
     */
    private boolean isAnonymous;

    public boolean isAnonymous() {
        return isAnonymous;
    }

    public void setAnonymous(boolean anonymous) {
        isAnonymous = anonymous;
    }

    public String getUrl() {
        return url;
    }


    public PermissionDocEntity(String permission, String message, String url) {
        this.permission = permission;
        this.message = message;
        this.url = url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public PermissionDocEntity() {
    }

    public PermissionDocEntity(String permission, String message) {
        this.permission = permission;
        this.message = message;
    }

    @Override
    public String toString() {
        return "PermissionDocEntity{" +
                "permission='" + permission + '\'' +
                ", message='" + message + '\'' +
                ", url='" + url + '\'' +
                ", isAnonymous=" + isAnonymous +
                '}';
    }
}
